export class BaseMessageModel {
    private action: string;
    private header;
    private body;
    target: string;
    id: string;
    sendCount: number = 0;

    constructor(action: string, body) {
        this.header = {
            version: Date.now()
        };
        this.action = action;
        this.body = body;
    }
}